﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OneCard.Face8280Module.DeviceModel.Model.Log
{
    /// <summary>
    /// 网络连接日志
    /// </summary>
    [Table("ConnectIOLog")]
    public class ConnectIOLog
    {


        /// <summary>
        /// 请求类型 Request or Response
        /// </summary>
        public string HttpType { get; set; }


        /// <summary>
        /// 请求的URL
        /// </summary>
        public string URL { get; set; }



        /// <summary>
        /// HTTP的Body长度
        /// </summary>
        public string ContentLength { get; set; }

        /// <summary>
        /// HTTP的ContentType 内容类型
        /// </summary>
        public string ContentType { get; set; }


        /// <summary>
        /// HTTP的Body 有效数据内容
        /// </summary>
        public object Body { get; set; }

    }
}
